Skip to content

Attempting to fix .else#2

Open
sesam wants to merge 1 commit into
becdetat:masterfrom
sesam:patch-1
Open

Attempting to fix .else#2
sesam wants to merge 1 commit into
becdetat:masterfrom
sesam:patch-1

Conversation

@sesam

@sesam sesam commented Apr 8, 2019

Copy link
Copy Markdown
Contributor

Hi! We at tretton37 found a bug in the .else branch. Comparing https://github.com/becdetat/Simplicity/blob/master/src/Simplicity/PatternMatching.cs I guess I've made the right fix. But would need some tests and maybe a mention in the docs how multiple .else should work.

I guess this is a breaking change, so 4.x? SemVer grumble grumble ^_^

Hi! We at tretton37 found a bug in the .else branch. Comparing https://github.com/becdetat/Simplicity/blob/master/src/Simplicity/PatternMatching.cs I guess I've made the right fix. But would need some tests and maybe a mention in the docs how multiple .else should work.

I guess this is a breaking change, so 4.x? SemVer grumble grumble ^_^
@sesam

sesam commented Apr 8, 2019

Copy link
Copy Markdown
Contributor Author

If you decide this is the right path, I can help updating the README later with how .else is behaving.

Oh and I didn't gulp the es6 file into dist/

@becdetat

becdetat commented Apr 8, 2019

Copy link
Copy Markdown
Owner

Nice, thank you, however it should throw an exception rather than writing to the console. I'm happier for things to break when you don't hold them correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants